/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package lt.ntec.danblog.client.utils;

import com.google.gwt.user.client.ui.HorizontalPanel;
import lt.ntec.danblog.client.utils.panels.UtilityPanel;

/**
 *
 * @author Tadas
 */
class UtilsPanel extends HorizontalPanel {

    private final UtilityPanel utilityPanel;

    public UtilsPanel() {
        super();
        utilityPanel = new UtilityPanel();
        MenuPanel menuPanel =
                new MenuPanel(utilityPanel);
        add(menuPanel);
        setCellWidth(menuPanel, "140px");
        
        add(utilityPanel);
        setSpacing(10);
        
        setStylePrimaryName("text-utils-panel");
        setWidth("100%");
    }

    public UtilityPanel getUtilitytPanel() {
        return utilityPanel;
    }
}
